package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 会议通知
 * </p>
 *
 * @author ${author}
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MeetNotice对象", description="会议通知")
public class MeetNotice implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "会议名称")
    private String meetingName;

    @ApiModelProperty(value = "会议类型（选择）")
    private String meetingType;

    @ApiModelProperty(value = "参会人员（选择->通知到人员->外键）")
    private String meetingPeople;

    @ApiModelProperty(value = "会议日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date meetingData;

    @ApiModelProperty(value = "会议时间")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private Date meetingTime;

    @ApiModelProperty(value = "会议地点（可选择）")
    private String meetingAdress;

    @ApiModelProperty(value = "会议内容")
    private String meetingContent;

    @ApiModelProperty(value = "相关项目")
    private String project;

    @ApiModelProperty(value = "相关附件（oss）")
    private String file;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "类型（会议或通知）")
    private String noticeType;


}
